package com.steam.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * [STRATO MyBatis Generator]
 * Table: logistics
@mbggenerated do_not_delete_during_merge 2017-03-02 15:38:23
 */
public class Logistics implements Serializable {
    /**
     * Column: logistics.id
    @mbggenerated 2017-03-02 15:38:23
     */
    private Integer id;
    private String fenlei;
    
    public String getFenlei() {
		return fenlei;
	}

	public void setFenlei(String fenlei) {
		this.fenlei = fenlei;
	}

	/**
     *   出发地的省
     * Column: logistics.startprovince
    @mbggenerated 2017-03-02 15:38:23
     */
    private String startprovince;

    /**
     *   出发地的市
     * Column: logistics.startcity
    @mbggenerated 2017-03-02 15:38:23
     */
    private String startcity;

    /**
     *   出发地的县
     * Column: logistics.startcountry
    @mbggenerated 2017-03-02 15:38:23
     */
    private String startcountry;

    /**
     *   目的地的省
     * Column: logistics.endprovince
    @mbggenerated 2017-03-02 15:38:23
     */
    private String endprovince;

    /**
     *   目的地的市
     * Column: logistics.endcity
    @mbggenerated 2017-03-02 15:38:23
     */
    private String endcity;

    /**
     *   目的地的县
     * Column: logistics.endcountry
    @mbggenerated 2017-03-02 15:38:23
     */
    private String endcountry;

    /**
     *   备注
     * Column: logistics.content
    @mbggenerated 2017-03-02 15:38:23
     */
    private String content;

    /**
     *   信息创建的时间
     * Column: logistics.createtime
    @mbggenerated 2017-03-02 15:38:23
     */
    private Date createtime;

    /**
     *   详细地址
     * Column: logistics.address
    @mbggenerated 2017-03-02 15:38:23
     */
    private String address;

    /**
     *   类型,0是车源,1是货源
     * Column: logistics.type
    @mbggenerated 2017-03-02 15:38:23
     */
    private Integer type;

    /**
     *   货物的信息,包括货物的名称,数量以及单位
     * Column: logistics.goodsname
    @mbggenerated 2017-03-02 15:38:23
     */
    private String goodsname;

    /**
     *   货物的数量
     * Column: logistics.goodsnum
    @mbggenerated 2017-03-02 15:38:23
     */
    private String goodsnum;

    /**
     *   货物的单位
     * Column: logistics.goodsunit
    @mbggenerated 2017-03-02 15:38:23
     */
    private String goodsunit;

    /**
     *   车的信息,包括车型，车长以及数量
     * Column: logistics.cartype
    @mbggenerated 2017-03-02 15:38:23
     */
    private String cartype;

    /**
     *   车长
     * Column: logistics.carlength
    @mbggenerated 2017-03-02 15:38:23
     */
    private String carlength;

    /**
     *   车的数量
     * Column: logistics.carnum
    @mbggenerated 2017-03-02 15:38:23
     */
    private String carnum;

    /**
     *   发布的时候输入的价格,可以不填写
     * Column: logistics.price
    @mbggenerated 2017-03-02 15:38:23
     */
    private String price;

    /**
     *   对应的发布的人的唯一id
     * Column: logistics.userid
    @mbggenerated 2017-03-02 15:38:23
     */
    private Integer userid;

    /**
     *   用户的等级
     * Column: logistics.usergrade
    @mbggenerated 2017-03-02 15:38:23
     */
    private String usergrade;

    /**
     *   信息的状态(0待接单,1是备选人,4是待确认2是进行中,3是已完成),注意车主只有进行中、已完成和待确认的状态
     * Column: logistics.state
    @mbggenerated 2017-03-02 15:38:23
     */
    private Integer state;

    /**
     *   用户的电话,使用空格分开
     * Column: logistics.phone
    @mbggenerated 2017-03-02 15:38:23
     */
    private String phone;

    /**
     *   该用户的订单数量
     * Column: logistics.ordercount
    @mbggenerated 2017-03-02 15:38:23
     */
    private Integer ordercount;

    /**
     * Column: logistics.score
    @mbggenerated 2017-03-02 15:38:23
     */
    private Double score;

    /**
     * Column: logistics.fromin
    @mbggenerated 2017-03-02 15:38:23
     */
    private String fromin;

    /**
     * Table: logistics
    @mbggenerated 2017-03-02 15:38:23
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStartprovince() {
        return startprovince;
    }

    public void setStartprovince(String startprovince) {
        this.startprovince = startprovince == null ? null : startprovince.trim();
    }

    public String getStartcity() {
        return startcity;
    }

    public void setStartcity(String startcity) {
        this.startcity = startcity == null ? null : startcity.trim();
    }

    public String getStartcountry() {
        return startcountry;
    }

    public void setStartcountry(String startcountry) {
        this.startcountry = startcountry == null ? null : startcountry.trim();
    }

    public String getEndprovince() {
        return endprovince;
    }

    public void setEndprovince(String endprovince) {
        this.endprovince = endprovince == null ? null : endprovince.trim();
    }

    public String getEndcity() {
        return endcity;
    }

    public void setEndcity(String endcity) {
        this.endcity = endcity == null ? null : endcity.trim();
    }

    public String getEndcountry() {
        return endcountry;
    }

    public void setEndcountry(String endcountry) {
        this.endcountry = endcountry == null ? null : endcountry.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname == null ? null : goodsname.trim();
    }

    public String getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(String goodsnum) {
        this.goodsnum = goodsnum == null ? null : goodsnum.trim();
    }

    public String getGoodsunit() {
        return goodsunit;
    }

    public void setGoodsunit(String goodsunit) {
        this.goodsunit = goodsunit == null ? null : goodsunit.trim();
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype == null ? null : cartype.trim();
    }

    public String getCarlength() {
        return carlength;
    }

    public void setCarlength(String carlength) {
        this.carlength = carlength == null ? null : carlength.trim();
    }

    public String getCarnum() {
        return carnum;
    }

    public void setCarnum(String carnum) {
        this.carnum = carnum == null ? null : carnum.trim();
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price == null ? null : price.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsergrade() {
        return usergrade;
    }

    public void setUsergrade(String usergrade) {
        this.usergrade = usergrade == null ? null : usergrade.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getOrdercount() {
        return ordercount;
    }

    public void setOrdercount(Integer ordercount) {
        this.ordercount = ordercount;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getFromin() {
        return fromin;
    }

    public void setFromin(String fromin) {
        this.fromin = fromin == null ? null : fromin.trim();
    }

	@Override
	public String toString() {
		return "Logistics [id=" + id + ", fenlei=" + fenlei + ", startprovince=" + startprovince + ", startcity="
				+ startcity + ", startcountry=" + startcountry + ", endprovince=" + endprovince + ", endcity=" + endcity
				+ ", endcountry=" + endcountry + ", content=" + content + ", createtime=" + createtime + ", address="
				+ address + ", type=" + type + ", goodsname=" + goodsname + ", goodsnum=" + goodsnum + ", goodsunit="
				+ goodsunit + ", cartype=" + cartype + ", carlength=" + carlength + ", carnum=" + carnum + ", price="
				+ price + ", userid=" + userid + ", usergrade=" + usergrade + ", state=" + state + ", phone=" + phone
				+ ", ordercount=" + ordercount + ", score=" + score + ", fromin=" + fromin + "]";
	}
    
}